<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>EasyIO-GPRS-Framework: KernelObject</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- 制作者 Doxygen 1.6.3 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
--></script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="modules.html"><span>模块</span></a></li>
      <li><a href="annotated.html"><span>类</span></a></li>
      <li><a href="files.html"><span>文件</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <img id="MSearchSelect" src="search/search.png"
             onmouseover="return searchBox.OnSearchSelectShow()"
             onmouseout="return searchBox.OnSearchSelectHide()"
             alt=""/>
        <input type="text" id="MSearchField" value="搜索" accesskey="S"
             onfocus="searchBox.OnSearchFieldFocus(true)" 
             onblur="searchBox.OnSearchFieldFocus(false)" 
             onkeyup="searchBox.OnSearchFieldChange(event)"/>
        <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
        </div>
      </li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>KernelObject</h1><table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>组合类型</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structrt__object.html">rt_object</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structrt__object__information.html">rt_object_information</a></td></tr>
<tr><td colspan="2"><h2>宏定义</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__KernelObject.html#gadc83c17483bce09fad91cc8b2a3d0ed5">RT_OBJECT_FLAG_MODULE</a>&nbsp;&nbsp;&nbsp;0x80</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__KernelObject.html#ga40f88eaca0029aea304a7757c85431b8">RT_OBJECT_HOOK_CALL</a>(func, argv)</td></tr>
<tr><td colspan="2"><h2>类型定义</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structrt__object.html">rt_object</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__KernelObject.html#ga91d74b4f1699da278153af455dadcd70">rt_object_t</a></td></tr>
<tr><td colspan="2"><h2>枚举</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__KernelObject.html#ga38a532bcb1bd3f12685db4219b761b56">rt_object_class_type</a> { <a class="el" href="group__KernelObject.html#gga38a532bcb1bd3f12685db4219b761b56a548d26bb698e083d38bd8f0649441a52">RT_Object_Class_Thread</a> =  0, 
<a class="el" href="group__KernelObject.html#gga38a532bcb1bd3f12685db4219b761b56a29bccdc3303ac04a7e25d40fea97ab12">RT_Object_Class_Timer</a>, 
<a class="el" href="group__KernelObject.html#gga38a532bcb1bd3f12685db4219b761b56a7fd1d3fe31dd8000703a6198bd919c74">RT_Object_Class_Unknown</a>, 
<a class="el" href="group__KernelObject.html#gga38a532bcb1bd3f12685db4219b761b56ac3a51281d7f8fee902e6324673d39cec">RT_Object_Class_Static</a> =  0x80
 }</td></tr>
<tr><td colspan="2"><h2>函数</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga0126bb4a5edd998ff952e1129e9e0cb9"></a><!-- doxytag: member="KernelObject::rt_system_object_init" ref="ga0126bb4a5edd998ff952e1129e9e0cb9" args="(void)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>rt_system_object_init</b> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga1b490eef8714a5a18ca9bd2f307a34de"></a><!-- doxytag: member="KernelObject::rt_object_get_information" ref="ga1b490eef8714a5a18ca9bd2f307a34de" args="(enum rt_object_class_type type)" -->
struct <a class="el" href="structrt__object__information.html">rt_object_information</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>rt_object_get_information</b> (enum <a class="el" href="group__KernelObject.html#ga38a532bcb1bd3f12685db4219b761b56">rt_object_class_type</a> type)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga0a86356c83e8264841fcb83255f72014"></a><!-- doxytag: member="KernelObject::rt_object_init" ref="ga0a86356c83e8264841fcb83255f72014" args="(struct rt_object *object, enum rt_object_class_type type, const char *name)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>rt_object_init</b> (struct <a class="el" href="structrt__object.html">rt_object</a> *object, enum <a class="el" href="group__KernelObject.html#ga38a532bcb1bd3f12685db4219b761b56">rt_object_class_type</a> type, const char *name)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gad3a5cf0c036738c6f0ee560a62bc93be"></a><!-- doxytag: member="KernelObject::rt_object_detach" ref="gad3a5cf0c036738c6f0ee560a62bc93be" args="(rt_object_t object)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>rt_object_detach</b> (<a class="el" href="structrt__object.html">rt_object_t</a> object)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga661bb999394a29404c20c7f3e58e5f64"></a><!-- doxytag: member="KernelObject::rt_object_allocate" ref="ga661bb999394a29404c20c7f3e58e5f64" args="(enum rt_object_class_type type, const char *name)" -->
<a class="el" href="structrt__object.html">rt_object_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><b>rt_object_allocate</b> (enum <a class="el" href="group__KernelObject.html#ga38a532bcb1bd3f12685db4219b761b56">rt_object_class_type</a> type, const char *name)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga0479fb23b766d96e9611ed32becc2797"></a><!-- doxytag: member="KernelObject::rt_object_delete" ref="ga0479fb23b766d96e9611ed32becc2797" args="(rt_object_t object)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>rt_object_delete</b> (<a class="el" href="structrt__object.html">rt_object_t</a> object)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga0b4471fdda93017477bc81ca357481ac"></a><!-- doxytag: member="KernelObject::rt_object_is_systemobject" ref="ga0b4471fdda93017477bc81ca357481ac" args="(rt_object_t object)" -->
<a class="el" href="group__BasicDef.html#ga3e03a3519ef7e33d13ebd34c482db49c">rt_bool_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><b>rt_object_is_systemobject</b> (<a class="el" href="structrt__object.html">rt_object_t</a> object)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga6c82dbb4ae114918c5c96d0dca3957eb"></a><!-- doxytag: member="KernelObject::rt_object_find" ref="ga6c82dbb4ae114918c5c96d0dca3957eb" args="(const char *name, rt_uint8_t type)" -->
<a class="el" href="structrt__object.html">rt_object_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><b>rt_object_find</b> (const char *name, <a class="el" href="group__BasicDef.html#ga585e2ad0fbab0f83817cb61373465df6">rt_uint8_t</a> type)</td></tr>
</table>
<hr/><h2>宏定义文档</h2>
<a class="anchor" id="gadc83c17483bce09fad91cc8b2a3d0ed5"></a><!-- doxytag: member="rtdef.h::RT_OBJECT_FLAG_MODULE" ref="gadc83c17483bce09fad91cc8b2a3d0ed5" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define RT_OBJECT_FLAG_MODULE&nbsp;&nbsp;&nbsp;0x80</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>is module object. </p>

</div>
</div>
<a class="anchor" id="ga40f88eaca0029aea304a7757c85431b8"></a><!-- doxytag: member="rtdef.h::RT_OBJECT_HOOK_CALL" ref="ga40f88eaca0029aea304a7757c85431b8" args="(func, argv)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define RT_OBJECT_HOOK_CALL</td>
          <td>(</td>
          <td class="paramtype">func, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">argv&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>The hook function call macro </p>

</div>
</div>
<hr/><h2>类型定义文档</h2>
<a class="anchor" id="ga91d74b4f1699da278153af455dadcd70"></a><!-- doxytag: member="rtdef.h::rt_object_t" ref="ga91d74b4f1699da278153af455dadcd70" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="structrt__object.html">rt_object</a>* <a class="el" href="structrt__object.html">rt_object_t</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Type for kernel objects. </p>

</div>
</div>
<hr/><h2>枚举类型文档</h2>
<a class="anchor" id="ga38a532bcb1bd3f12685db4219b761b56"></a><!-- doxytag: member="rtdef.h::rt_object_class_type" ref="ga38a532bcb1bd3f12685db4219b761b56" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__KernelObject.html#ga38a532bcb1bd3f12685db4219b761b56">rt_object_class_type</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>The object type can be one of the follows with specific macros enabled:</p>
<ul>
<li>Thread</li>
<li>Semaphore</li>
<li>Mutex</li>
<li>Event</li>
<li>MailBox</li>
<li>MessageQueue</li>
<li>MemHeap</li>
<li>MemPool</li>
<li>Device</li>
<li>Timer</li>
<li>Module</li>
<li>Unknown</li>
<li>Static </li>
</ul>
<dl><dt><b>枚举值: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="gga38a532bcb1bd3f12685db4219b761b56a548d26bb698e083d38bd8f0649441a52"></a><!-- doxytag: member="RT_Object_Class_Thread" ref="gga38a532bcb1bd3f12685db4219b761b56a548d26bb698e083d38bd8f0649441a52" args="" -->RT_Object_Class_Thread</em>&nbsp;</td><td>
<p>The object is a thread. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="gga38a532bcb1bd3f12685db4219b761b56a29bccdc3303ac04a7e25d40fea97ab12"></a><!-- doxytag: member="RT_Object_Class_Timer" ref="gga38a532bcb1bd3f12685db4219b761b56a29bccdc3303ac04a7e25d40fea97ab12" args="" -->RT_Object_Class_Timer</em>&nbsp;</td><td>
<p>The object is a timer. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="gga38a532bcb1bd3f12685db4219b761b56a7fd1d3fe31dd8000703a6198bd919c74"></a><!-- doxytag: member="RT_Object_Class_Unknown" ref="gga38a532bcb1bd3f12685db4219b761b56a7fd1d3fe31dd8000703a6198bd919c74" args="" -->RT_Object_Class_Unknown</em>&nbsp;</td><td>
<p>The object is unknown. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="gga38a532bcb1bd3f12685db4219b761b56ac3a51281d7f8fee902e6324673d39cec"></a><!-- doxytag: member="RT_Object_Class_Static" ref="gga38a532bcb1bd3f12685db4219b761b56ac3a51281d7f8fee902e6324673d39cec" args="" -->RT_Object_Class_Static</em>&nbsp;</td><td>
<p>The object is a static object. </p>
</td></tr>
</table>
</dd>
</dl>

</div>
</div>
</div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>全部</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>类</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>文件</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>函数</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&nbsp;</span>变量</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&nbsp;</span>枚举</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&nbsp;</span>枚举值</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&nbsp;</span>宏定义</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr class="footer"/><address style="text-align: right;"><small>Generated at Mon Feb 10 20:46:09 2014 for EasyIO-GPRS-Framework by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>
